<?php echo form_open_multipart(uri_string())?>    
    <table class="form">
        <tr>
            <td class="label" style="width: 150px;">Danh mục sản phẩm cha</td>
            <td>
                <select id="parent_id" name="parent_id" class="w300">
                     <option value=""> Chọn danh mục sản phẩm cha</option>
                    <?php echo $option_pid ?>
                </select>
            </td>
        </tr> 
       
        <tr>
            <td class="required label" style="width: 150px;">Tên danh mục</td>
            <td><input type="text" name="name" id="name" class="w250" value=""></td>
        </tr> 
        <!--<tr>
            <td class="label" style="width: 150px;">Hình ảnh đại diện<br/>Kích thước: 320 × 370</td>
            <td> <input type="text" name="image" class="w350" value="" id="file_name" readonly >
             <a href="<?php echo base_url()?>file_manager/img_lib/file_name" id="addimages" class="cboxElement" title="<?php echo lang('file_mng_add_file');?>"> <img src="<?php echo base_url()?>templates/images/icon/attach.png" alt=""> </a></td>
        </tr>-->
        <tr>
            <td class="label" style="width: 150px;">Vị trí hiển thị</td>
            <td><input type="text" name="nb_order" id="nb_order"class="w350" value=""></td>
        </tr>
         <tr>
            <td class="label">Chọn hiện thị ở trang chủ</td>
            <td><input type="checkbox" name="home" id="home" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td class="label"><?php echo lang('active_deactive');?></td>
            <td><input type="checkbox" name="bl_active" id="bl_active" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="bt_submit" value="" class="capnhat">
            </td>
        </tr>  
    </table>
<?php echo form_close()?>